cmake_minimum_required(VERSION 3.22.1)

project("rtmppush")

add_subdirectory(librtmp)

add_library(
        ${CMAKE_PROJECT_NAME}
        SHARED
        nest-live.cpp
)

target_link_libraries(
        ${CMAKE_PROJECT_NAME}
        rtmp
        android
        log
)
